//
//  PKPlayOtherViewController.m
//  PianKe
//
//  Created by ybq on 15/12/25.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKPlayOtherViewController.h"

@interface PKPlayOtherViewController ()



@end

@implementation PKPlayOtherViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self creatUI];
}




- (void)creatUI {
    UILabel *anchorTitle = [[UILabel alloc] initWithFrame:CGRectMake(15, 25, 50, 10)];
    anchorTitle.text = @"主播:";
    anchorTitle.textColor = [UIColor grayColor];
    anchorTitle.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:anchorTitle];
    
    _anchorHeaderImageView = [[UIImageView alloc] initWithFrame:CGRectMake(65, 15, 30, 30)];
    _anchorHeaderImageView.layer.cornerRadius = 15;
    _anchorHeaderImageView.layer.masksToBounds = YES;
    [self.view addSubview:_anchorHeaderImageView];
    
    _anchorLabel = [[UILabel alloc] initWithFrame:CGRectMake(_anchorHeaderImageView.frame.origin.x + 40, anchorTitle.frame.origin.y, 80, 10)];
    _anchorLabel.textColor = [UIColor grayColor];
    _anchorLabel.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:_anchorLabel];
    
    
    UILabel *originalTitle = [[UILabel alloc] initWithFrame:CGRectMake(15, 75, 50, 10)];
    originalTitle.text = @"原文:";
    originalTitle.textColor = [UIColor grayColor];
    originalTitle.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:originalTitle];
    
    _originalImageView = [[UIImageView alloc] initWithFrame:CGRectMake(65, 65, 30, 30)];
    _originalImageView.layer.cornerRadius = 15;
    _originalImageView.layer.masksToBounds = YES;
    [self.view addSubview:_originalImageView];
    
    _originalLabel = [[UILabel alloc] initWithFrame:CGRectMake(_originalImageView.frame.origin.x + 40, originalTitle.frame.origin.y, 80, 10)];
    _originalLabel.textColor = [UIColor grayColor];
    _originalLabel.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:_originalLabel];
    
    UILabel *fromTitle = [[UILabel alloc] initWithFrame:CGRectMake(15, 125, 60, 10)];
    fromTitle.text = @"来自电台:";
    fromTitle.textColor = [UIColor grayColor];
    fromTitle.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:fromTitle];
    
    _fromLabel = [[UILabel alloc] initWithFrame:CGRectMake(75, fromTitle.frame.origin.y, 150, 10)];
    _fromLabel.textColor = [UIColor grayColor];
    _fromLabel.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:_fromLabel];
    
    
    UILabel *otherLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 170, 200, 15)];
    otherLabel.text = @"主播其他作品";
    otherLabel.textColor = [UIColor grayColor];
    otherLabel.font = [UIFont systemFontOfSize:12];
    [self.view addSubview:otherLabel];
    
    UIImageView *line = [[UIImageView alloc] initWithFrame:CGRectMake(95, otherLabel.frame.origin.y + 5, kWidth - 95, .5)];
    line.backgroundColor = [UIColor lightGrayColor];
    [self.view addSubview:line];
    

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
